<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui">

    <h:head>
        <h:outputStylesheet name="css/menuAplicacion.css"/>

    </h:head>

    <h:body styleClass="colorCuerpo">

        <p:layout fullPage="true" >

            <p:layoutUnit position="north" size="100"
                          resizable="false" closable="false" collapsible="false"  styleClass="top" >





            </p:layoutUnit>

            <p:layoutUnit position="west" size="250" header="Menu Aplicación" id="leftPanel"
                          style="text-align:center" styleClass="left" >
                <h:form>  



                    <p:panelMenu style="width:240px;text-align:left">  
                        <p:submenu label="Maestros" > 

                            <p:menuitem value="Estado" url="#{pageContext.request.contextPath}/faces/tblEstado/Create.xhtml"   icon="ui-icon-disk" />  
                            <p:menuitem value="RolUsuario" url="#{pageContext.request.contextPath}/faces/tblRolusuario/Create.xhtml"   icon="ui-icon-disk" />  
                            <p:menuitem value="Usuario" url="#{pageContext.request.contextPath}/faces/tblUsuario/Create.xhtml"   icon="ui-icon-disk" /> 
                            <p:menuitem value="Agrupacion" url="#{pageContext.request.contextPath}/faces/tblagrupacion/Create.xhtml"   icon="ui-icon-disk" />  
                            <p:menuitem value="ARP" url="#{pageContext.request.contextPath}/faces/tblarp/Create.xhtml" icon="ui-icon-disk" />  
                            <p:menuitem value="Bancos" url="#{pageContext.request.contextPath}/faces/tblbancos/Create.xhtml" icon="ui-icon-disk" />  
                            <p:menuitem value="CajaCompensacion" url="#{pageContext.request.contextPath}/faces/tblcajacompensacion/Create.xhtml"   icon="ui-icon-disk" />  
                            <p:menuitem value="Cargos" url="#{pageContext.request.contextPath}/faces/tblcargos/Create.xhtml"   icon="ui-icon-disk" />  
                            <p:menuitem value="CentroCosto" url="#{pageContext.request.contextPath}/faces/tblcenntrocosto/Create.xhtml"   icon="ui-icon-disk" />  
                            <p:menuitem value="Cesantias" url="#{pageContext.request.contextPath}/faces/tblcesantias/Create.xhtml" icon="ui-icon-disk" />  
                            <p:menuitem value="Ciudades" url="#{pageContext.request.contextPath}/faces/tblciudades/Create.xhtml" icon="ui-icon-disk" />  
                            <p:menuitem value="ClaseEmpleado" url="#{pageContext.request.contextPath}/faces/tblclaseempleados/Create.xhtml"   icon="ui-icon-disk" />  
                            <p:menuitem value="Compañia" url="#{pageContext.request.contextPath}/faces/tblocompania/Create.xhtml"   icon="ui-icon-disk" />  
                            <p:menuitem value="ConceptoAgrupación" url="#{pageContext.request.contextPath}/faces/tblconceptoagrupacion/Create.xhtml"   icon="ui-icon-disk" />  
                            <p:menuitem value="ConceptoCuenta" url="#{pageContext.request.contextPath}/faces/tblconceptocuenta/Create.xhtml" icon="ui-icon-disk" />  
                            <p:menuitem value="ConceptoDeduccionRetefuente" url="#{pageContext.request.contextPath}/faces/tblconceptodeduccionretefuente/Create.xhtml" icon="ui-icon-disk" />  
                            <p:menuitem value="Conceptos" url="#{pageContext.request.contextPath}/faces/tblconceptos/Create.xhtml"   icon="ui-icon-disk" />  
                            <p:menuitem value="ConceptosPermanentes" url="#{pageContext.request.contextPath}/faces/tblconceptospermanentes/Create.xhtml"   icon="ui-icon-disk" />  
                            <p:menuitem value="DatosGenerales" url="#{pageContext.request.contextPath}/faces/tbldatosgenerales/Create.xhtml"   icon="ui-icon-disk" />  
                            <p:menuitem value="DatosPersonales" url="#{pageContext.request.contextPath}/faces/tbldatospersonales/Create.xhtml" icon="ui-icon-disk" />  
                            <p:menuitem value="DeduccionReteFuente" url="#{pageContext.request.contextPath}/faces/tbldeduccinretefuente/Create.xhtml" icon="ui-icon-disk" />  
                            <p:menuitem value="Departamentos" url="#{pageContext.request.contextPath}/faces/tbldepartamentos/Create.xhtml"   icon="ui-icon-disk" />  
                            <p:menuitem value="Divisiones" url="#{pageContext.request.contextPath}/faces/tbldivisiones/Create.xhtml"   icon="ui-icon-disk" />  
                            <p:menuitem value="EPS" url="#{pageContext.request.contextPath}/faces/tbleps/Create.xhtml"   icon="ui-icon-disk" />  
                            <p:menuitem value="EstadoCivil" url="#{pageContext.request.contextPath}/faces/tblestadocivil/Create.xhtml" icon="ui-icon-disk" />  
                            <p:menuitem value="FactoresProvision" url="#{pageContext.request.contextPath}/faces/tblfactoresprovision/Create.xhtml" icon="ui-icon-disk" />  





                        </p:submenu> 

                        <p:submenu label="Maestros" >  
                            <p:menuitem value="FondoPension" url="#{pageContext.request.contextPath}/faces/tblfondopension/Create.xhtml"   icon="ui-icon-disk" />  
                            <p:menuitem value="Grupo" url="#{pageContext.request.contextPath}/faces/tblgrupo/Create.xhtml"   icon="ui-icon-disk" />  
                            <p:menuitem value="Impuestos" url="#{pageContext.request.contextPath}/faces/tblimpuestos/Create.xhtml"   icon="ui-icon-disk" />  
                            <p:menuitem value="Incapacidades" url="#{pageContext.request.contextPath}/faces/tblincapacidades/Create.xhtml" icon="ui-icon-disk" />  
                            <p:menuitem value="Novedades" url="#{pageContext.request.contextPath}/faces/tblnovedades/Create.xhtml" icon="ui-icon-disk" />  
                            <p:menuitem value="Paises" url="#{pageContext.request.contextPath}/faces/tblpaises/Create.xhtml"   icon="ui-icon-disk" />  
                            <p:menuitem value="ParametrosLegales" url="#{pageContext.request.contextPath}/faces/tblparametroslegales/Create.xhtml"   icon="ui-icon-disk" />  
                            <p:menuitem value="PeriodoPago" url="#{pageContext.request.contextPath}/faces/tblperiodopago/Create.xhtml"   icon="ui-icon-disk" />  
                            <p:menuitem value="Prestamos" url="#{pageContext.request.contextPath}/faces/tblprestamos/Create.xhtml" icon="ui-icon-disk" />  
                            <p:menuitem value="Retefuente" url="#{pageContext.request.contextPath}/faces/tblretefuente/Create.xhtml" icon="ui-icon-disk" />  
                            <p:menuitem value="RiesgosProfesionales" url="#{pageContext.request.contextPath}/faces/tblriesgosprofesionales/Create.xhtml"   icon="ui-icon-disk" />  
                            <p:menuitem value="Roles" url="#{pageContext.request.contextPath}/faces/tblroles/Create.xhtml"   icon="ui-icon-disk" />  
                            <p:menuitem value="Sexo" url="#{pageContext.request.contextPath}/faces/tblsexo/Create.xhtml"   icon="ui-icon-disk" />  
                            <p:menuitem value="Tercero" url="#{pageContext.request.contextPath}/faces/tbltercero/Create.xhtml" icon="ui-icon-disk" />  
                            <p:menuitem value="TipoActividad" url="#{pageContext.request.contextPath}/faces/tbltipoactividad/Create.xhtml" icon="ui-icon-disk" />  
                            <p:menuitem value="TipoConceptos" url="#{pageContext.request.contextPath}/faces/tblconceptos/Create.xhtml"   icon="ui-icon-disk" />  
                            <p:menuitem value="TipoContrato" url="#{pageContext.request.contextPath}/faces/tblcontrato/Create.xhtml"   icon="ui-icon-disk" />  
                            <p:menuitem value="TipoCuentaBanco" url="#{pageContext.request.contextPath}/faces/tblcuentabanco/Create.xhtml"   icon="ui-icon-disk" />  
                            <p:menuitem value="TipoDocumento" url="#{pageContext.request.contextPath}/faces/tbltipodocumento/Create.xhtml" icon="ui-icon-disk" />  
                            <p:menuitem value="TipoIncapacidad" url="#{pageContext.request.contextPath}/faces/tbltipoincapacidad/Create.xhtml" icon="ui-icon-disk" />  
                            <p:menuitem value="TipoNomina" url="#{pageContext.request.contextPath}/faces/tbltiponomina/Create.xhtml"   icon="ui-icon-disk" />  
                            <p:menuitem value="TipoPrima" url="#{pageContext.request.contextPath}/faces/tbltipoprima/Create.xhtml"   icon="ui-icon-disk" />  
                        </p:submenu> 

                    </p:panelMenu>  

                </h:form>  
            </p:layoutUnit>

            <p:layoutUnit position="center" styleClass="center" >
                <h:form>  

                    <p:tabMenu activeIndex="1">  
                        <p:menuitem value="Administracion" url="#{pageContext.request.contextPath}/faces/menuAplicacion.xhtml" />  
                        <p:menuitem value="Compañia" url="#{pageContext.request.contextPath}/faces/menuAplicacionCompania.xhtml" /> 
                        <p:menuitem value="Empleado" url="#{pageContext.request.contextPath}/faces/menuAplicacionEmpleado.xhtml" icon="ui-icon-person"/>  
                        <p:menuitem value="Parámetros sistema" url="#{pageContext.request.contextPath}/faces/menuAplicacionParametro.xhtml" icon="ui-icon-wrench"/>  
                        <p:menuitem value="Registro de novedades" url="#{pageContext.request.contextPath}/faces/menuAplicacionNovedades.xhtml" /> 
                        <p:menuitem value="liquidaciones" url="#{pageContext.request.contextPath}/faces/menuAplicacionLiquidacion.xhtml" /> 
                    </p:tabMenu>  
                </h:form> 
                <ui:insert name="body"></ui:insert>

            </p:layoutUnit>

        </p:layout>

    </h:body>
</html>
